package com.qf.openapi.web.master.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * layui 的 json数据格式如下
 * {
 *   "code": 0,
 *   "msg": "",
 *   "count": 1000,
 *   "data": [{}, {}]
 * }
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class TableVo<T> {

    private Integer code;
    private String msg;
    private Long count;
    private List<T> data;

}
